﻿@{
    ViewData["Title"] = "Add";
}
@using HrEFCore.Models;
@using HrEFCore;
@model List<CMK>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="../../css/table.css" type="text/css">
    <script type="text/javascript" src="../../javascript/comm/comm.js"></script>
</head>

<script type="text/javascript">
    function submission() {
        document.forms[0].submit();
    }

    function page(currentPage) {
        document.getElementById("pid").value = currentPage;
        document.forms[0].submit();
    }
    function check() {
        if (document.getElementById("majorKind.majorKindName").value == "") {
            alert("职位分类名称不能为空!!!");
            return false;
        }
        document.forms[0].submit();
    }
</script>
<style type="text/css">
    body {
        background: rgb(253,244,227);
    }

    .TD_STYLE1 {
        background: #E6DDCE;
        /* color:white; */
    }

    .TD_STYLE2 {
        background: rgb(253,244,227);
    }

    .INPUT_STYLE2 {
        background: rgb(253,244,227);
    }

    .INPUT_STYLE1{
        background: rgb(253,244,227);
    }
</style>

<body>
    <form action="/CMK/Add2" method="post">
        <table style="width:100%;margin-top:10px;height:30px;background-color:rgb(253,244,227)">
            <tr>
                <td>
                    <font color="black">
                        您正在做的业务是：人力资源--客户化设置--人力资源档案管理设置--职位分类设置--职位分类添加
                    </font>
                </td>
            </tr>
            <tr>
                <td style="float:right;margin-bottom:10px;margin-right:20px">
                    <button class="btn btn-warning" onclick="check()">
                        <input type="submit" value="提交" class="BUTTON_STYLE1">
                        <a href="@Url.Action("Index","CMK")" target="mainFrame" style="color:black;">返回</a>
                    </button>
                </td>
            </tr>
        </table>

        <table class="table table-bordered" style="width:100%">
            <tr style="background: #E6DDCE;">
                <td>职位分类编号</td>
                <td class="TD_STYLE2" width="81%"></td>
            </tr>
            <tr style="background: #E6DDCE;">
                <td>职位分类名称</td>
                <td class="TD_STYLE2">
                    <input type="text" class="INPUT_STYLE1" name="cmk.MajorKindName" required />
                </td>
            </tr>
        </table>
        <th colspan="7" class="pager">
        </th>
        <p>
    </form>
</body>
</html>